<%--
  Created by IntelliJ IDEA.
  User: tianwei
  Date: 2017/8/10
  Time: 11:15
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>首页--layui后台管理模板</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css" media="all"/>
</head>
<body class="childrenBody">
<div class="panel_box row">
    <div class="panel col">
        <a href="javascript:;">
            <div class="panel_icon">
                <i class="layui-icon" data-icon="&#xe63a;">&#xe63a;</i>
            </div>
            <div class="panel_word newMessage">
                <span style="color: #ec971f">${requestScope.systemMessage.untreatedCount}</span>
                <cite>未处理数量</cite>
            </div>
        </a>
    </div>
    <%--<div class="panel col">--%>
    <%--<a href="javascript:;">--%>
    <%--<div class="panel_icon" style="background-color:#FF5722;">--%>
    <%--<i class="iconfont icon-dongtaifensishu" data-icon="icon-dongtaifensishu"></i>--%>
    <%--</div>--%>
    <%--<div class="panel_word userAll">--%>
    <%--<span></span>--%>
    <%--<cite>当日拒绝数量</cite>--%>
    <%--</div>--%>
    <%--</a>--%>
    <%--</div>--%>
    <%--<div class="panel col">--%>
    <%--<a href="javascript:;">--%>
    <%--<div class="panel_icon" style="background-color:#009688;">--%>
    <%--<i class="layui-icon" data-icon="&#xe613;">&#xe613;</i>--%>
    <%--</div>--%>
    <%--<div class="panel_word userAll">--%>
    <%--<span></span>--%>
    <%--<cite>当日审核数量</cite>--%>
    <%--</div>--%>
    <%--</a>--%>
    <%--</div>--%>
    <div class="panel col">
        <a href="javascript:;">
            <div class="panel_icon" style="background-color:#5FB878;">
                <i class="layui-icon" data-icon="&#xe64a;">&#xe64a;</i>
            </div>
            <div class="panel_word imgAll">
                <span style="color: #ec971f">${requestScope.systemMessage.totalExamineCount}</span>
                <cite>累计审核数量 </cite>
            </div>
        </a>
    </div>
    <div class="panel col">
        <a href="javascript:;">
            <div class="panel_icon" style="background-color:#F7B824;">
                <i class="iconfont icon-wenben" data-icon="icon-wenben"></i>
            </div>
            <div class="panel_word waitNews">
                <span style="color: #ec971f">${requestScope.systemMessage.totalRejectCount}</span>
                <cite>累计拒绝数量</cite>
            </div>
        </a>
    </div>
    <div class="panel col max_panel">
        <a href="javascript:;" data-url="page/news/newsList.html">
            <div class="panel_icon" style="background-color:#2F4056;">
                <i class="iconfont icon-text" data-icon="icon-text"></i>
            </div>
            <div class="panel_word allNews">
                <span style="color: #ec971f">${requestScope.systemMessage.evaCount}</span>
                <em>评价数量</em>
            </div>
        </a>
    </div>
</div>

<div class="row">
    <div class="sysNotice col">
        <blockquote class="layui-elem-quote title">登陆日志</blockquote>
        <div class="layui-elem-quote layui-quote-nm">

            <table class="layui-table">
                <colgroup>
                    <col width="150">
                    <col>
                </colgroup>
                <tbody>
                <tr>
                    <td>序号</td>
                    <td>操作员账号</td>
                    <td>操作时间</td>
                    <td>登陆地址</td>
                </tr>
                <c:forEach var="his" items="${logins}">
                    <tr>
                        <td>${his.managerLoginId}</td>
                        <td>${his.managerUserName}</td>
                        <td>${his.managerLoginTime}</td>
                        <td>${his.managerLoginIpName}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>

        </div>
    </div>
    <div class="sysNotice col">
        <blockquote class="layui-elem-quote title">差评列表<i class="iconfont icon-new1"></i></blockquote>
        <table class="layui-table" lay-skin="line">
            <colgroup>
                <col>
                <col width="110">
                <c:if test="${evas!=null && fn:length(evas) > 0}">
                <tr>
                    <td>序号</td>
                    <td>船号</td>
                    <td>岗位</td>
                    <td>原因</td>
                    <td>提交时间</td>
                    <td>过闸时间</td>
                </tr>
                    <c:forEach var="eva" items="${evas}">
                        <tr>
                            <td>${eva.evaluateId}</td>
                            <td>${eva.shipNo}</td>
                            <td>${eva.postName}</td>
                            <td>${eva.desc}</td>
                            <td>${eva.commitTime}</td>
                            <td>${eva.unLockTime}</td>
                        </tr>
                    </c:forEach>
                </c:if>
                <c:if test="${evas==null && fn:length(evas) > 0}">
                    <tr>暂无差评，继续加油!</tr>
                </c:if>
            </colgroup>
            <tbody class="hot_news"></tbody>
        </table>
    </div>
</div>

<script type="text/javascript" src="${pageContext.request.contextPath}/layui/layui.js"></script>
</body>
</html>